import http from "../http";

export const downloadFile = (url: string) =>
  http.get("/teaching/file/downLoadFileFullPath", {
    params: { filePath: url },
    responseType: "arraybuffer",
  });
